<?php
use Mirage\Base\Html;
$form = new UserForm();
$form->setModel($model);

?>
<?php echo $form->beginForm(); ?>
<div>
    <?php echo $form->username; ?>
</div>
<div>
    <?php echo $form->password; ?>
</div>
<?php echo $form->endForm(); ?>
<?php //echo Html::inputHidden($model, $attribute); ?>